#!/bin/sh
java -Djava.rmi.server.hostname=$1 -Djavax.net.ssl.keyStore=SubServerKeyStore -Djavax.net.ssl.keyStorePassword=subserverpass -Djavax.net.ssl.trustStore=SubServerTrustStore -Djavax.net.ssl.trustStorePassword=subservertrustpass -Djava.security.manager -Djava.security.policy=subserver.policy -Djava.rmi.server.codebase=http://$4:8080/ -jar SubServer.jar $1 $2 $3